package xyz.hubery.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "修改手机号请求对象")
public class UpdatePhoneRequest {

    @ApiModelProperty(value = "国家代码", required = true)
    @NotBlank
    private String countryCode;

    @NotBlank
    @ApiModelProperty(value = "旧手机号", required = true)
    private String newMobilePhone;

    @NotBlank
    @ApiModelProperty(value = "新手机号验证码", required = true)
    private String oldValidateCode;

    @NotBlank
    @ApiModelProperty(value = "验证码", required = true)
    private String validateCode;
}
